#!/usr/bin/env python3
# -*- coding: utf-8 -*-

'a test module'

__author__ = 'dusin'

import sys
import logging

logger = logging.getLogger('sampleLogger')

def say_hello():
    args = sys.argv
    logging.info('logging in hello.py')
    logger.info('this is logger named')
    if len(args) == 1:
        print('Hello, world!')
    elif len(args) == 2:
        print('Hello, %s!' % args[1])
    else:
        print('Too many arguments!')
if __name__ == '__main__':
    say_hello()
